
package org.xteam.sled.ast;

import org.xteam.parser.runtime.Span;

public class BitRange extends Expr {
	
	
	protected IdentExpr ident;
	protected IntegerLiteral low;
	protected IntegerLiteral high;
	
	public BitRange(Span span, IdentExpr ident,IntegerLiteral low,IntegerLiteral high) {
		super(span);
		this.ident = ident;
		this.low = low;
		this.high = high;
	}
	
	
	public IdentExpr getIdent() {
		return ident;
	}
	
	public void setIdent(IdentExpr ident) {
		this.ident = ident;
	}
	
	public IntegerLiteral getLow() {
		return low;
	}
	
	public void setLow(IntegerLiteral low) {
		this.low = low;
	}
	
	public IntegerLiteral getHigh() {
		return high;
	}
	
	public void setHigh(IntegerLiteral high) {
		this.high = high;
	}
	

	public void visit(ISledVisitor visitor) {
		visitor.visitBitRange(this);
	}
}
